package com.engine4cloud.tdf.supervision.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.engine4cloud.tdf.common.data.web.response.PageInfo;
import com.engine4cloud.tdf.common.data.web.response.Params;
import com.engine4cloud.tdf.supervision.dto.DcpgCrimeNameDTO;
import com.engine4cloud.tdf.supervision.dto.query.DcpgInvCrimeNameQueryDTO;
import com.engine4cloud.tdf.supervision.dto.result.DcpgInvCrimeNameResultDTO;
import com.engine4cloud.tdf.supervision.entity.DcpgInvCrimeNameEntity;
import com.engine4cloud.tdf.supervision.entity.DcpgInvestigationEntity;

import java.util.List;

public interface DcpgInvCrimeNameService extends IService<DcpgInvCrimeNameEntity> {

    PageInfo<DcpgInvCrimeNameResultDTO> pageList(Params pageable, DcpgInvCrimeNameQueryDTO dto);

    DcpgInvCrimeNameResultDTO getById(Long id);

    List<DcpgInvCrimeNameResultDTO> findList(DcpgInvCrimeNameQueryDTO dto);

    Boolean updateBatch(DcpgInvestigationEntity investigation, List<DcpgCrimeNameDTO> crimeList);
}